home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
ieditor.z
/
ieditor
Wrap
Text File
|
1998-10-20
|
17KB
|
397 lines
IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111)))) IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111))))
NNNNAAAAMMMMEEEE
ieditor - a simple internationalized mouse-based text editor
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
iiiieeeeddddiiiittttoooorrrr [----bbbbgggg | ----bbbbaaaacccckkkkggggrrrroooouuuunnnndddd colorname] [----ddddiiiissssppppllllaaaayyyy display] [----ffffgggg |
----ffffoooorrrreeeeggggrrrroooouuuunnnndddd colorname] [----ggggeeeeoooommmmeeeettttrrrryyyy sizeXsize+pos+pos] [----iiiiccccoooonnnniiiicccc] [----ttttiiiittttlllleeee
title] [----xxxxnnnnllllllllaaaannnngggguuuuaaaaggggeeee locale] [----xxxxrrrrmmmm resource_string] [files]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_i_e_d_i_t_o_r is a simple internationalized editor in which the mouse is used
to cut, copy, and paste text, and to position the cursor. _i_e_d_i_t_o_r also
allows the user to perform simple searches and replaces.
_i_e_d_i_t_o_r accepts several standard X-style command-line arguments (listed
above) whose default values can be initialized in your
Foreground and background colors are set using the options of the same
name.
_i_e_d_i_t_o_r uses a font list --mincho-*--14-;7x14;*--14-* as default fonts.
If you want to change fonts from default to another, add a font list
specification to your $_H_O_M_E/._X_d_e_f_a_u_l_t_s file. Then _i_e_d_i_t_o_r will use the
given fonts to display text. For example, the line
IIIIEEEEddddiiiittttoooorrrr****ffffoooonnnnttttLLLLiiiisssstttt:::: --------ggggooootttthhhhiiiicccc----****--------22224444----;;;;11112222xxxx22224444;;;;****--------22224444----****::::
lets _i_e_d_i_t_o_r's font size be 24 dots and Japanese font be Gothic.
Across the top of every _i_e_d_i_t_o_r window is a menubar containing the
following entries:
FFFFiiiilllleeee Commands on this menu allow the user to move text files into and
out of ieditor windows, and allow the user to quit the
application. These commands include the following:
NNNNeeeewwww Opens a new document window. A dialogue pops up to
prompt for the new filename. If there are unsaved
changes to the current document, a dialogue pops up
asking whether to save them. If there exists a file with
the new filename, it will be opened.
OOOOppppeeeennnn Opens an editing window on an existing text file. A
dialogue pops up to prompt for a filename. If there are
unsaved changes to the current document, a dialogue pops
up asking whether to save them.
IIIInnnnsssseeeerrrrtttt Places the contents of a text file at the current cursor
position. A dialogue pops up to prompt for the filename.
CCCClllloooosssseeee Closes the editor window. If there are unsaved changes
to the current document, a dialogue pops up asking
whether to save them.
PPPPaaaaggggeeee 1111
IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111)))) IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111))))
SSSSaaaavvvveeee Saves the editor's contents to disk.
SSSSaaaavvvveeee AAAAssss............ Prompts for a new file to save the current document into.
A dialogue pops up to prompt for the new filename. The
editor writes into the new file the next time the Save
command is used.
PPPPrrrriiiinnnntttt Sends the editor contents to a printer. If there are
unsaved changes to the current document, a dialogue pops
up asking whether to save them.
EEEExxxxiiiitttt Applies the Close command to every open _i_e_d_i_t_o_r window,
and then the _i_e_d_i_t_o_r process exits.
EEEEddddiiiitttt Changes to the editor window's contents are made with the
commands on the Edit menu. These commands include the following:
UUUUnnnnddddoooo Undoes the results of the last Edit command.
CCCCuuuutttt Removes selected text to the cut buffer. The cut text
can be pasted into another _i_e_d_i_t_o_r window or into the
window from which it was cut.
CCCCooooppppyyyy Copies selected text to the cut buffer. The copied text
can be pasted into another _i_e_d_i_t_o_r window, as well as
into the window from which it was copied.
PPPPaaaasssstttteeee Transfers text from the cut buffer to the current text
cursor location (the _p_o_i_n_t). If text is selected when
the paste is made, the selected text is replaced with the
text from the buffer. This text could have been cut or
copied from any _i_e_d_i_t_o_r window.
CCCClllleeeeaaaarrrr Removes the selected text from the editor window without
putting it into the cut buffer.
SSSSeeeeaaaarrrrcccchhhh Scans the document for the first string that matches a
given string. A dialogue pops up to request the string
to be searched for. Pressing the _S_e_a_r_c_h _F_o_r_w_a_r_d (_S_e_a_r_c_h
_B_a_c_k_w_a_r_d) button in the dialogue starts _i_e_d_i_t_o_r searching
forward (backward) from the current point for a string
that matches the given string. If none is found before
the end (beginning) of the file, the search restarts at
the beginning (end). If none is still found when the
search finishes wrapping back to its starting point,
_i_e_d_i_t_o_r will pop up a warning dialogue. The matching
string will be selected. To find the next instance,
click the Search Forward (Search Backward) button while
the mouse (arrow) cursor is in the dialogue.
PPPPaaaaggggeeee 2222
IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111)))) IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111))))
SSSSeeeeaaaarrrrcccchhhh////RRRReeeeppppllllaaaacccceeee Scans the document for a string and replaces the found
string with another one. A dialogue pops up to request
the string to be searched for (search string) and the
string to be replaced with (replacement string). There
are three types of Search/Replace:
1) Replace One by One
Push the Search Forward (Search Backward) button to
search the document for a string that matches the search
string. Push the _R_e_p_l_a_c_e button to replace the found
string with the replacement string.
2) Replace within Range
Specify the range within which search/replace should be
performed by typing in line numbers to define the range.
Push the _R_e_p_l_a_c_e _P_a_r_t button. Within the range, all
strings matching the search string will be replaced with
the replacement string.
3) Replace All
Push the _R_e_p_l_a_c_e _A_l_l button. All strings in the document
that match the search string will be replaced with the
replacement string.
VVVViiiieeeewwww The commands on the View menu allow the user to change what part
of the document appears in the ieditor window. These commands
include the following:
FFFFiiiilllleeee TTTToooopppp Scrolls to the beginning page of the document and moves
the cursor to the beginning of the document.
FFFFiiiilllleeee BBBBoooottttttttoooommmm Scrolls to the ending page of the document and moves the
cursor to the end of the document.
PPPPaaaaggggeeee UUUUpppp Scrolls one page toward the beginning of the document and
moves the cursor back one page.
PPPPaaaaggggeeee DDDDoooowwwwnnnn Scrolls one page toward the end of the document and moves
the cursor forward one page.
JJJJuuuummmmpppp TTTToooo LLLLiiiinnnneeee Jumps to the beginning of the specified line. A dialogue
pops up to prompt for the line number.
LLLLiiiinnnneeee NNNNuuuummmmbbbbeeeerrrr Allows the user to toggle whether line numbers are shown
or hidden.
PPPPaaaaggggeeee 3333
IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111)))) IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111))))
SSSSEEEELLLLEEEECCCCTTTTIIIINNNNGGGG TTTTEEEEXXXXTTTT
To select text, use the left mouse button to perform the following
actions as needed:
_c_l_i_c_k Sets the point (I-beam or text cursor) to
wherever the mouse cursor is pointing in the
text.
_p_r_e_s_s-_d_r_a_g-_r_e_l_e_a_s_e Selects all text between the the point where
the left mouse button is first pressed down and
the point where it is released. Dragging out
of the window causes ieditor to scroll in the
direction of the edge that the cursor crossed.
_c_l_i_c_k-_c_l_i_c_k Causes the word over which the mouse cursor is
clicked to be selected.
_s_h_i_f_t&_c_l_i_c_k Extends a block of text that the user has
already selected. To extend the selection
forwards or backwards, hold down the shift key
and then click at the end of the extended
selection.
_s_h_i_f_t&_c_l_i_c_k-_d_r_a_g-_r_e_l_e_a_s_e Also extends a block of text the user has
already selected. This differs in that the
extension of the selection changes as the mouse
is dragged.
TTTTRRRRAAAANNNNSSSSFFFFEEEERRRRRRRRIIIINNNNGGGG XXXX SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNNSSSS
_i_e_d_i_t_o_r can grab text from or give text to applications that use the X
Window System's ICCC selection mechanism, such as _w_s_h. To send from
_i_e_d_i_t_o_r to _w_s_h, select text in _i_e_d_i_t_o_r using the mouse cursor, then move
the mouse cursor into a _w_s_h window and press the middle mouse button. To
grab from _w_s_h, select text in the _w_s_h window, then move the mouse cursor
into a _i_e_d_i_t_o_r window and press middle mouse. The text from _w_s_h will be
inserted at the point or replace the currently selected text in _i_e_d_i_t_o_r.
KKKKEEEEYYYYBBBBOOOOAAAARRRRDDDD CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
The point can be moved in the document via the arrow keys. Holding shift
while pressing the arrow keys will select the text that is moved over.
The following keyboard accelerators are available:
_A_l_t+_B_a_c_k_s_p_a_c_e Undo
_S_h_i_f_t+_D_e_l_e_t_e Cut
_C_t_r_l+_I_n_s_e_r_t Copy
PPPPaaaaggggeeee 4444
IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111)))) IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111))))
_S_h_i_f_t+_I_n_s_e_r_t Paste
_D_e_l_e_t_e Clear
_A_l_t+_S Search
_A_l_t+_R Search/Replace
_H_o_m_e File Top
_E_n_d File Bottom
_P_a_g_e _U_p/_A_l_t+_B Page Up
_P_a_g_e _D_o_w_n/_A_l_t+_F Page Down
_A_l_t+_J Jump To Line
_A_l_t+_L Line Number
_C_t_r_l+_B Move the cursor one character to the left.
_C_t_r_l+_F Move the cursor one character to the right.
_A_l_t+_P Move the cursor to the first non-whitespace character
after the first whitespace character to the left or the
beginning of the line.
_A_l_t+_N Move the cursor to the first whitespace character or end
of line following the next non-whitespace character.
_C_t_r_l+_A Move the cursor to the beginning of the line.
_C_t_r_l+_E Move the cursor to the end of the line.
_C_t_r_l+_P Move the cursor up one line.
_C_t_r_l+_N Move the cursor down one line.
SSSSCCCCRRRROOOOLLLLLLLL BBBBAAAARRRRSSSS
_i_e_d_i_t_o_r uses horizontal and vertical scroll bars with proportionally
sized sliders.
Clicking on the arrows with the left mouse button causes the _i_e_d_i_t_o_r
window to scroll one character up, down, left, or right. Holding down
the left button over any arrow causes the scrolling to repeat
automatically. Holding down the shift key while clicking on any arrow
causes the window to scroll one full page of text.
The scroll bars' sliders can also be used to scroll through the _i_e_d_i_t_o_r
window by pressing the left mouse button while dragging the slider with
the mouse cursor. The sliders vary in size to indicate the percentage of
PPPPaaaaggggeeee 5555
IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111)))) IIIIEEEEDDDDIIIITTTTOOOORRRR((((1111))))
total text that is visible in the window.
For more information about the entire IRIX Interactive Desktop
environment, see the IID(1) man page.
PPPPaaaaggggeeee 6666